import { EnumProperty, getDefDBField, IWidget } from "xcore/cmpnt"

const Input: IWidget = {
  cmpnt: "ElInput",
  type: "text",
  valueKey: "x-input",
  category: "widgets",
  props: {
    placeholder: "请输入",
    maxlength: 32,
    "prefix-icon": "",
    "suffix-icon": "",
    clearable: true,
    readonly: false,
    disabled: false,
    "show-word-limit": false,
    myevent: function () { },
    dbField:getDefDBField(),
    style: { "width": "120px" },
    class: [],
    bind: { properties: [EnumProperty.Removed] },
  },
  events: {},
  ctl: {
    icon: "iconfont te-i-input",
    name: "Input",
    group: "input",
    text: "单行文本",
  },
};
export { Input };
